package com.xjk.service.impl;

import com.alibaba.dubbo.config.annotation.Reference;
import com.xjk.dubbo.sevice.DubboService;
import com.xjk.service.ConsumerService;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

/**
 * @author Xjk
 */


@Service
public class ConsumerServiceImpl implements ConsumerService {


    @DubboReference()
    private DubboService dubboService;

    @Override
    public String demo() {
        return dubboService.test("xjk");
    }
}
